<?php

use yii\db\Schema;
use yii\db\Migration;

class m150724_110321_log_alter extends Migration
{
    public function up()
    {
    	$this->alterColumn('{{%log}}', 'user_type', "int(10) NOT NULL DEFAULT '2' COMMENT '账户类型 1: root 2:运营人员 3:代理商 4:广告主'");
    }

    public function down()
    {
        return true;
    }
}
